<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>ActiveSupport::Testing::ProxyTestResult</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>

</head>

<body>     
    <div class="banner">
        
            <span>Ruby on Rails v4.0.0</span><br />
        
        <h1>
            <span class="type">Class</span> 
            ActiveSupport::Testing::ProxyTestResult 
            
                <span class="parent">&lt; 
                    
                    <a href="../../Object.html">Object</a>
                    
                </span>
            
        </h1>
        <ul class="files">
            
            <li><a href="../../../files/activesupport/lib/active_support/testing/isolation_rb.html">activesupport/lib/active_support/testing/isolation.rb</a></li>
            
        </ul>
    </div>
    <div id="bodyContent">
        <div id="content">
  


  


  
  


  


  
    <!-- Method ref -->
    <div class="sectiontitle">Methods</div>
    <dl class="methods">
      
        <dt>#</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="ProxyTestResult.html#method-i-__replay__">__replay__</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>A</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="ProxyTestResult.html#method-i-add_error">add_error</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>I</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="ProxyTestResult.html#method-i-info_signal">info_signal</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>M</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="ProxyTestResult.html#method-i-marshal_dump">marshal_dump</a>,
              </li>
            
              
              <li>
                <a href="ProxyTestResult.html#method-i-marshal_load">marshal_load</a>,
              </li>
            
              
              <li>
                <a href="ProxyTestResult.html#method-i-method_missing">method_missing</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>N</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="ProxyTestResult.html#method-c-new">new</a>
              </li>
            
          </ul>
        </dd>
      
    </dl>
  

  



  

    

    

    


    


    <!-- Methods -->
    
      <div class="sectiontitle">Class Public methods</div>
      
        <div class="method">
          <div class="title method-title" id="method-c-new">
            
              <b>new</b>(calls = [])
            
            <a href="ProxyTestResult.html#method-c-new" name="method-c-new" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/1a9109879aa4ba840b17d0dac780ad66dbb15968/activesupport/lib/active_support/testing/isolation.rb#L17" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-c-new_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/testing/isolation.rb, line 17</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">initialize</span>(<span class="ruby-identifier">calls</span> = [])
  <span class="ruby-ivar">@calls</span> = <span class="ruby-identifier">calls</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
                  
      <div class="sectiontitle">Instance Public methods</div>
      
        <div class="method">
          <div class="title method-title" id="method-i-__replay__">
            
              <b>__replay__</b>(result)
            
            <a href="ProxyTestResult.html#method-i-__replay__" name="method-i-__replay__" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-__replay___source')" id="l_method-i-__replay___source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/1a9109879aa4ba840b17d0dac780ad66dbb15968/activesupport/lib/active_support/testing/isolation.rb#L26" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-__replay___source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/testing/isolation.rb, line 26</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">__replay__</span>(<span class="ruby-identifier">result</span>)
  <span class="ruby-ivar">@calls</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span>, <span class="ruby-identifier">args</span><span class="ruby-operator">|</span>
    <span class="ruby-identifier">result</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">name</span>, *<span class="ruby-identifier">args</span>)
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-i-add_error">
            
              <b>add_error</b>(e)
            
            <a href="ProxyTestResult.html#method-i-add_error" name="method-i-add_error" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-add_error_source')" id="l_method-i-add_error_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/1a9109879aa4ba840b17d0dac780ad66dbb15968/activesupport/lib/active_support/testing/isolation.rb#L21" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-add_error_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/testing/isolation.rb, line 21</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">add_error</span>(<span class="ruby-identifier">e</span>)
  <span class="ruby-identifier">e</span> = <span class="ruby-constant">Test</span><span class="ruby-operator">::</span><span class="ruby-constant">Unit</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">e</span>.<span class="ruby-identifier">test_name</span>, <span class="ruby-constant">RemoteError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">e</span>.<span class="ruby-identifier">exception</span>))
  <span class="ruby-ivar">@calls</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-value">:add_error</span>, <span class="ruby-identifier">e</span>]
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-i-info_signal">
            
              <b>info_signal</b>()
            
            <a href="ProxyTestResult.html#method-i-info_signal" name="method-i-info_signal" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-info_signal_source')" id="l_method-i-info_signal_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/1a9109879aa4ba840b17d0dac780ad66dbb15968/activesupport/lib/active_support/testing/isolation.rb#L44" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-info_signal_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/testing/isolation.rb, line 44</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">info_signal</span>
  <span class="ruby-constant">Signal</span>.<span class="ruby-identifier">list</span>[<span class="ruby-string">'INFO'</span>]
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-i-marshal_dump">
            
              <b>marshal_dump</b>()
            
            <a href="ProxyTestResult.html#method-i-marshal_dump" name="method-i-marshal_dump" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-marshal_dump_source')" id="l_method-i-marshal_dump_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/1a9109879aa4ba840b17d0dac780ad66dbb15968/activesupport/lib/active_support/testing/isolation.rb#L32" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-marshal_dump_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/testing/isolation.rb, line 32</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">marshal_dump</span>
  <span class="ruby-ivar">@calls</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-i-marshal_load">
            
              <b>marshal_load</b>(calls)
            
            <a href="ProxyTestResult.html#method-i-marshal_load" name="method-i-marshal_load" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-marshal_load_source')" id="l_method-i-marshal_load_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/1a9109879aa4ba840b17d0dac780ad66dbb15968/activesupport/lib/active_support/testing/isolation.rb#L36" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-marshal_load_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/testing/isolation.rb, line 36</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">marshal_load</span>(<span class="ruby-identifier">calls</span>)
  <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">calls</span>)
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-i-method_missing">
            
              <b>method_missing</b>(name, *args)
            
            <a href="ProxyTestResult.html#method-i-method_missing" name="method-i-method_missing" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-method_missing_source')" id="l_method-i-method_missing_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/1a9109879aa4ba840b17d0dac780ad66dbb15968/activesupport/lib/active_support/testing/isolation.rb#L40" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-method_missing_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/testing/isolation.rb, line 40</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">method_missing</span>(<span class="ruby-identifier">name</span>, *<span class="ruby-identifier">args</span>)
  <span class="ruby-ivar">@calls</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-identifier">name</span>, <span class="ruby-identifier">args</span>]
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
                    </div>

    </div>
  </body>
</html>    